﻿
@{
    ViewData["Title"] = "ShowProductionProcess";
    Layout = "~/Views/Home/Main.cshtml";
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.17.2/xlsx.full.min.js"></script>

<h4>工艺工序管理/工序列表</h4>
<br/>
<br/>

<form class="layui-form layui-row layui-col-space16" style="width:1000px">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">工序编号：</label>
            <div class="layui-input-inline">
                <input type="text" id="ProductionProcessesNumber" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">工序名称：</label>
            <div class="layui-input-inline">
                <input type="text" id="ProductionProcessesName" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">状态：</label>
            <div class="layui-input-inline">
                <select id="Status"> 
                  <option placeholder="选择状态"></option>
                  <option value="启用">启用</option>
                  <option value="禁用">禁用</option>
                </select>
            </div>
        </div>

        <div>
            <div class="layui-inline" class="layui-btn-container">
                <button type="button" class="layui-btn layui-bg-blue" lay-on="test-page-custom" onclick="location.href='/ProcessProcedures/AddProductionProcess'">
                    <i class="layui-icon layui-icon-add-circle-fine"></i>添加
                </button>
                 <button type="button" class="layui-btn layui-btn-primary" id="exportBtn">导出</button>
            </div>

            <div class="layui-inline" style="margin-left:500px">
                <button class="layui-btn" lay-submit>重置</button>          
                <button type="button" class="layui-btn layui-bg-blue" onclick="ShowProcessProcedures()">查询</button>  
            </div>
        </div>
    </div>
</form>


<table class="layui-table" id="ProcessProceduresTable" width="100%"></table>
<script src="~/js/ProcessProcedures/ShowProcessProcedures.js"></script>